package com.example.multidatasource.db2.mapper;

import com.example.multidatasource.db2.entity.Lesson;
import com.example.multidatasource.db2.entity.LessonExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LessonMapper {
    long countByExample(LessonExample example);

    int deleteByExample(LessonExample example);

    int insert(Lesson record);

    int insertSelective(Lesson record);

    List<Lesson> selectByExampleWithBLOBs(LessonExample example);

    List<Lesson> selectByExample(LessonExample example);

    int updateByExampleSelective(@Param("record") Lesson record, @Param("example") LessonExample example);

    int updateByExampleWithBLOBs(@Param("record") Lesson record, @Param("example") LessonExample example);

    int updateByExample(@Param("record") Lesson record, @Param("example") LessonExample example);
}